{(app/views/zh_cn/mg/header.html)}
 
    <!--content start-->
    <div id="content" class="content">
        
         <!--left-->
         <div class="left list" >
	           <div class="title">
	               <h2> <span> {{title}}</span></h2>
	           </div>
	           
	          <div class="content_text text">
	               <ul>
	                  <li> 
	                      <span class="left type">分类</span>
	                      <span class="title">标题</span>
	                      <span class="right time">时间</span>
	                       <span class="right flag">浏览数</span>
	                   </li>
	                   
	               {% if list then %}
	                 {% for _, v in pairs(list) do %} 
	                  <li> 
	                      <span class="left type">{{v['category_id']}}</span>
	                      <span class="title" ><a href="/index/article?id={{v['id']}}">{{v['title']}}</a></span> 
	                      <span class="right time"> {{os.date("%Y-%m-%d %H:%M:%S", v['addtime'])}} </span>
	                       <span class="right flag"> {{v['click']}} </span>
	                   </li>
	                  {% end %}
	                {% end %}
	               </ul>   
	           </div>
	           

			    {% if page then %}
          <div class="paging">
			  <a href="{{page['home']}}">首页</a>
			    {% if page['prev'] then %}
			      <a href="{{page['prev']}}"> 上一页</a>
			    {%else%}
			      <a href="javascript:;">上一页</a> 
			    {% end %}
			    
			    
			    
			   {% if page['num'] then %}
			       {% for k, v in pairs(page['num']) do %}  
				       
				          {% if  page['page'] == k then %} 
	                     	<a href="{{v}}"   class="curr" >{{k}}</a>  
	                      {%else%}
	                     	<a href="{{v}}" >{{k}}</a>  
	                      {% end %} 
				   {% end %}
				{%end%} 
				   
				{% if page['next'] then %}
			          <a href="{{page['next']}}">下一页</a>
				{%else%}
				      <a href="javascript:;">下一页</a> 
				{% end %} 
				    
				<a href="{{page['end']}}">末页</a>
		   </div>  
	{% end %}
         </div> 
         <!--left end-->
         
         
          
         <!--right--> 
             {(app/views/zh_cn/mg/right.html)} 
         <!--right end-->
         <div class="clear"></div>
    </div>
    <!--content end-->
 
{(app/views/zh_cn/mg/footer.html)}